package com.tidb.example.demo.entity;

import java.util.Date;

/**
 * @author : ${author}
 * @version V1.0
 * @Package ${packageName}
 * @Description: 数据库表对应的pojo类
 * @date ${date} ${time}
 */

/**
 *    create teble user_t (
 *          uid int(11) auto_increment primary key,
 *          uname varchar(255),
 *          gender varchar(255),
 *          birthday  date
 *          );
 *
 */


public class User {
      private int  uid ;

      private String uname ;

      private String gender ;

      private Date birthday ;

      public User() {
      }

      public User(String uname, String gender, Date birthday) {
            this.uname = uname;
            this.gender = gender;
            this.birthday = birthday;
      }

      public int getUid() {
            return uid;
      }

      public void setUid(int uid) {
            this.uid = uid;
      }

      public String getUname() {
            return uname;
      }

      public void setUname(String uname) {
            this.uname = uname;
      }

      public String getGender() {
            return gender;
      }

      public void setGender(String gender) {
            this.gender = gender;
      }

      public Date getBirthday() {
            return birthday;
      }

      public void setBirthday(Date birthday) {
            this.birthday = birthday;
      }
}
